package com.sluggard.security.manage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sluggard.mp.model.req.IdsReq;
import com.sluggard.security.manage.model.entity.MenuEntity;
import com.sluggard.security.manage.model.entity.RoleEntity;
import com.sluggard.security.manage.model.res.Option;

import java.util.List;

/**
 * <p>
 * 角色xinxi 服务类
 * </p>
 *
 * @author lizheng
 * @since 2024-04-28
 */
public interface IRoleService extends IService<RoleEntity> {

    List<MenuEntity> getMenuNodeByRoleId(Long id);

    List<Option> roleList(String name);

    void onDelete(IdsReq idsReq);
}
